from rest_framework.routers import SimpleRouter

from . import views

router = SimpleRouter(trailing_slash=False)

router.register('alarms', views.AlarmViewSet)
router.register('categories',views.AlarmCategoryView)

urlpatterns = router.urls
